package com.honeywen.mymvc.opera;

import com.google.common.collect.Lists;
import com.google.common.collect.Sets;

import java.util.*;

/**
 * https://leetcode-cn.com/contest/weekly-contest-118/problems/pancake-sorting/
 * @author wangwei
 * @date 2019/8/15
 */
public class Test2 {


    public static List<Integer> pancakeSort(int[] A) {

        List<Integer> list = new ArrayList<>();

        for (int i = 0; i < A.length; i++) {

            

        }

        return list;

    }


    public static void main(String[] args) {


        List<String> list = Lists.newArrayList("abc", "jack", "abc", "rose", "lose");
        System.out.println(list);

        HashSet<String> set = Sets.newHashSet(list);

        System.out.println(set);

    }
}
